class UrlMappings {

	static mappings = {
		"/$controller/$action?/$id?"{
			constraints {
				// apply constraints here
			}
		}
		
		name fileMapping : "/uploaded/$location?/$file?" {
			controller = 'file'
			action = 'showUploadedFile'
			
		}

		"/"(view:"/login/auth")
		"500"(view:'/error')
	}
}
